package com.ruoyi.common.constant;

/**
 * @author : gpy
 * @description :
 * @date : 2022/3/24 17:22
 */
public class CrmConstants {

    /** CRM手机加密Key */
//    public static final String CRM_MOBILE_AES_KEY = "6cdtyotT6OpXDzpf";

    /** 数据导入 用户 */
    public static final String CRM_DATA_IMPORT_CREATE_BY = "数据导入";

    /** crm客户创建人 订单自动认领 */
    public static final String CRM_ORDER_OWNERSHIP_API_CREATE_BY = "订单自动认领接口";

    /** 同步订单到SCRM 自动认领 */
    public static final String CRM_ORDER_SYNC_OWNERSHIP_API_CREATE_BY = "同步订单到SCRM自动认领接口";

    /** 同步订单到SCRM 通过关系认领 */
    public static final String CRM_ORDER_SYNC_OWNERSHIP_API_CREATE_BY2 = "同步订单到SCRM自动关系认领接口";

    /** 拉取订单到SCRM 自动认领 */
    public static final String CRM_ORDER_PULL_OWNERSHIP_API_CREATE_BY = "拉取订单到SCRM自动认领接口";

    /** 批量订单到SCRM 手工导入 */
    public static final String CRM_ORDER_HAND_OWNERSHIP_API_CREATE_BY = "手工批量认领订单到SCRM";

    /** crm客户创建标签 订单 */
    public static final String CRM_DATA_SOURCE_ORDER = "订单";

    /** crm客户状态标签 成单单 */
    public static final String CRM_CUSTOMER_STATUS_ORDER = "成单";

    /** crm客户创建人 用户下单 */
    public static final String CRM_ORDER_USERORDER_CREATE_BY = "用户下单";

    /** crm客户创建人 订单管理 */
    public static final String CRM_ORDER_MANAGE_CREATE_BY = "订单管理";
    
    /** crm客户创建人 生成二维码订单 */
    public static final String CRM_ORDER_QR_CREATE_BY = "生成二维码订单";

    /** crm客户创建标签 待签*/
    public static final String CRM_DATA_SOURCE_USERORDER = "待签";

    /**
     * COS CRM桶
     */
    public static final String COS_CRM_BUCKET = "crm-1300667470";

    /**
     * 上传文件至COS地址
     */
    public static final String FILE_UPLOAD_COS_PATH="/file/cos/upload";
    /**
     * 天润外呼通话记录获取地址
     */
    public static final String TR_CALL_RECORDS_URL = "https://api-%s.cticloud.cn/interface/%s/cdr/ob/query";
    /**
     * 天润来电通话记录获取地址
     */
    public static final String TR_CALL_RECORDS_INCOME_URL = "https://api-%s.cticloud.cn/interface/%s/cdr/ib/query";

    /**
     * 天润通话记录文件获取地址
     */
    public static final String TR_CALL_FILE_URL = "https://api-%s.cticloud.cn/interface/%s/record/getInfo";
    /**
     * 天润webcall 语音通知接口
     */
    public static final String TR_WEB_CALL_URL = "https://api-%s.cticloud.cn/interface/%s/webcall";

    /**
     * 天润获取录音文件地址
     */
    public static final String TR_CALL_RECORD_URL = "https://api-%s.cticloud.cn/interface/%s/record/getUrl";

    /**
     * 天润新增一个座席
     */
    public static final String TR_CREATE_CNO_URL = "https://api-%s.cticloud.cn/interface/%s/agent/create";

    /**
     * 天润退出坐席
     */
    public static final String TR_LOGOUT_CNO_URL = "https://api-%s.cticloud.cn/interface/%s/agent/logout";

    /**
     * 天润 查看分机
     */
    public static final String TR_GET_EXTEN_URL = "https://api-%s.cticloud.cn/interface/%s/exten/get";

    /**
     * 天润 创建分机
     */
    public static final String TR_CREATE_EXTEN_URL = "https://api-%s.cticloud.cn/interface/%s/exten/create";
    /**
     * 天润 获取技能列表
     */
    public static final String TR_SKILL_LIST_URL = "https://api-%s.cticloud.cn/interface/%s/skill/list";
    /**
     * 座席监控接口 查询座席监控信息
     */
    public static final String TR_AGENT_MOINTER_URL ="https://api-%s.cticloud.cn/interface/%s/monitor/agent";


    /**
     * 天润录音COS存储地址
     */
    public static final String TR_CALL_STORE_FOLDER = "/TR/CallRecords";
    /**
     * 手机号加密
     */
    public static final String PHONENUMBER_ENCRYPT = "/crypt/queryEncryptMobile";

    /**
     * 呼入
     */
    public static final String TR_CDR_CALL_TYPE_1 = "1";
    /**
     * 预览外呼
     */
    public static final String TR_CDR_CALL_TYPE_4 = "4";
    /**
     * RTC的外呼
     */
    public static final String TR_CDR_CALL_TYPE_6 = "6";

    /**
     * 天润录音文件后缀(默认)
     */
    public static final String TR_RECORD_FILE_SUFFIX = ".mp3";

    /** crm用户id自增key */
    public static final String CRM_CUSTOMER_ID_KEY = "SEQUENCE_ID_CRM";

}
